package com.trkj.vo;

import java.util.Date;

import com.trkj.enmu.LeaveType;
import com.trkj.pojo.Dept;
import com.trkj.pojo.Emp;
import com.trkj.pojo.Position;

public class LeaveSaveVo {
	private int leaveId;
	private int leaveDay;
	private Date leaveEndtime;
	private String leaveExplain;
	private Date leaveStarttime;
	private LeaveType leaveType;
	private Date leaveUptime;
	private Dept dept;
	private Emp emp;
	private Position position;
	public int getLeaveId() {
		return leaveId;
	}
	public void setLeaveId(int leaveId) {
		this.leaveId = leaveId;
	}
	public int getLeaveDay() {
		return leaveDay;
	}
	public void setLeaveDay(int leaveDay) {
		this.leaveDay = leaveDay;
	}
	public Date getLeaveEndtime() {
		return leaveEndtime;
	}
	public void setLeaveEndtime(Date leaveEndtime) {
		this.leaveEndtime = leaveEndtime;
	}
	public String getLeaveExplain() {
		return leaveExplain;
	}
	public void setLeaveExplain(String leaveExplain) {
		this.leaveExplain = leaveExplain;
	}
	public Date getLeaveStarttime() {
		return leaveStarttime;
	}
	public void setLeaveStarttime(Date leaveStarttime) {
		this.leaveStarttime = leaveStarttime;
	}
	public LeaveType getLeaveType() {
		return leaveType;
	}
	public void setLeaveType(LeaveType leaveType) {
		this.leaveType = leaveType;
	}
	public Date getLeaveUptime() {
		return leaveUptime;
	}
	public void setLeaveUptime(Date leaveUptime) {
		this.leaveUptime = leaveUptime;
	}
	public Dept getDept() {
		return dept;
	}
	public void setDept(Dept dept) {
		this.dept = dept;
	}
	public Emp getEmp() {
		return emp;
	}
	public void setEmp(Emp emp) {
		this.emp = emp;
	}
	public Position getPosition() {
		return position;
	}
	public void setPosition(Position position) {
		this.position = position;
	}
	
	public LeaveSaveVo(int leaveId, int leaveDay, Date leaveEndtime, String leaveExplain, Date leaveStarttime,
			LeaveType leaveType, Date leaveUptime, Dept dept, Emp emp, Position position) {
		super();
		this.leaveId = leaveId;
		this.leaveDay = leaveDay;
		this.leaveEndtime = leaveEndtime;
		this.leaveExplain = leaveExplain;
		this.leaveStarttime = leaveStarttime;
		this.leaveType = leaveType;
		this.leaveUptime = leaveUptime;
		this.dept = dept;
		this.emp = emp;
		this.position = position;
	}
	@Override
	public String toString() {
		return "LeaveSaveVo [leaveId=" + leaveId + ", leaveDay=" + leaveDay + ", leaveEndtime=" + leaveEndtime
				+ ", leaveExplain=" + leaveExplain + ", leaveStarttime=" + leaveStarttime + ", leaveType=" + leaveType
				+ ", leaveUptime=" + leaveUptime + ", dept=" + dept + ", emp=" + emp + ", position=" + position + "]";
	}
	public LeaveSaveVo() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	
}
